<?php ?>
<!--
<?php
print_r($this->data);
?>
-->
<div class="publica">
	<h1>Registro<br /> 
	<span style="font-size:11px; color:red">*Todos los datos son obligatorios</span></h1>
    <?php echo $this->Form->create('Idea', array('method' => 'post', 'class' => 'form')); ?>
        <?php echo $this->Form->input('firstname', array('label' => 'Nombre')); ?>
        <?php echo $this->Form->input('lastname', array('label' => 'Apellido')); ?>
        <?php echo $this->Form->input('username', array('label' => 'Usuario')); ?>
        <?php echo $this->Form->input('email', array('label' => 'E-mail')); ?>
        <?php echo $this->Form->input('password', array('label' => 'Contraseña', 'type'=>'password')); ?>
        <?php echo $this->Form->input('confirm_password', array('label' => 'Confirmar Contraseña','type' => 'password')); ?>
        <?php echo $this->Form->input('referer', array('type' => 'hidden')); ?>
        <div style="clear:both;"></div>
        <?php echo $this->Recaptcha->show(array( 'theme' => 'white', 'lang' => 'en')); ?>
        <?php echo $this->Form->error('recaptcha_response_field','Captcha invalido, intente nuevamente.'); ?>
        <?php echo $this->Form->input('accept_conditions',
            array('label' => 'Acepto '.$this->Html->link('Condiciones',array('controller' => 'pages', 'action' => 'terms')),'type' => 'checkbox')); ?>
        <input value="Registrarse" type="submit">
    <?php echo $this->Form->end(); ?>
</div>

